package com.nercel.dsj.gksales.model.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 代理商
 * @author sunlin
 *
 */
@Data
public class Agent {

	@ApiModelProperty(value = "ID")
	private Integer id;

	@ApiModelProperty(value = "用户ID")
	private Integer userId;

	@ApiModelProperty(value = "区域")
	private Integer regionId;

	@ApiModelProperty(value = "级别:0总代/省1/市2/区3/客户经理4")
	private Integer level;

	@ApiModelProperty(value = "VIP额度")
	private Integer amount;

	@ApiModelProperty(value = "渠道:联通1")
	private String channel;

	@ApiModelProperty(value = "注册时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;

	@ApiModelProperty(value = "备注")
	private String remark;

	@ApiModelProperty(value = "激活")
	private Boolean activated;

}
